From: Carol (Nichols || Goulding) Date: Fri, 13 May 2016 16:27:10 +0000 (-0400) Subject: Remove out of place instructions on passing args and flags X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~14^2~7^2~31 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=c79216345fb6f5024540bbf0dd9468afd3d16ee4;p=cargo.git Remove out of place instructions on passing args and flags This doesn't feel like it fits very well at this point, since our example program doesn't take args and beginners to cargo probably don't have a reason to want to pass flags on to rustc at this point. Also it doesn't even say rustc, just "which flags go where"... where would they go?!?! --- diff --git a/src/doc/guide.md b/src/doc/guide.md index 4aba5ad6b..912566d14 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -94,9 +94,6 @@ class="s1"> Compiling hello_world v0.1.0 (file:///path/to/project/hello class="s1"> Running `target/debug/hello_world` Hello, world! -To pass some arguments to your program, use `cargo run first_arg second_arg`. -If flags are being passed, use a “--” separator to tell Cargo which flags go where, like `cargo run -- --foo -b bar`. - You’ll now notice a new file, `Cargo.lock`. It contains information about our dependencies. Since we don’t have any yet, it’s not very interesting.